home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / ColorSync / Sample Code / CSDemo 2.1 / CSDemo -- readme next >
Encoding:
Text File  |  1996-07-24  |  2.0 KB  |  52 lines  |  [TEXT/ttxt]

  1. CSDemo — version 1.1b2
  2.  
  3. 24 July, 1996
  4.  
  5.  
  6. The enclosed is a demo/sample application for ColorSync 2.x.  Among other things, it can open a pict file (which may have embedded profiles or profile identifiers), allow the user to choose source, output and display profiles, and convert the pict in several useful ways.  The code is not fully polished or documented, so be prepared to find some bugs.
  7.  
  8. If you're looking for useful ColorSync routines in the code, here are the source files you should look at first:
  9.  
  10. 1) colorsyncStuff.c -- This file contains some useful routines for dealing with profiles and picts with embedded profiles.
  11.  
  12. 2) myDrawMatchedPicture -- This file contains a different implementation of NCMDrawMatchedPicture.
  13.  
  14. 3) winProfile.c -- This code displays a Finder-like Get Info window for CS1 and CS2 profiles.
  15.  
  16. 4) winProfID.c -- This code displays a Finder-like Get Info window for CS2.1 profile identifiers.
  17.  
  18. 5) winProfList.c -- This code displays a scrollable list of profiles in the "ColorSync Profiles Folder"
  19.  
  20. I hope that this is of some assistance.  If you have any more related questions or bug reports, please send a link to DEVSUPPORT.
  21.  
  22. Happy syncing,
  23.  
  24. David Hayward
  25. Graphics Engineering Group
  26. Apple Computer, Inc.
  27.  
  28.  
  29.  
  30.  
  31. Modification History
  32.  
  33. Version 1.1b1  (7/96)
  34.  
  35. Added support for new features of ColorSync 2.1.  Did miscellaneous cleanups of the code and its comments. 
  36.  
  37. Version 1.0b3  (9/95)
  38.  
  39. Factored code somewhat to improve the framework.  Added Drag & drop support for pictures.  Did miscellaneous cleanups of the code and its comments. 
  40.  
  41. Version 1.0b2  (6/94)
  42.  
  43. Improved PrependProfileToPicHandle() so that it sets the embedded flag bit in the profile header before calling NCMUseProfileComment().  This is the proper thing to do in order to respect the copyright of the profile. 
  44.  
  45. Changed to code used for GX printing so that if used the new GX interfaces.  These new interfaces are on E.T.O. 18.
  46.  
  47. Did miscellaneous cleanups of the code and its comments. 
  48.  
  49. Version 1.0b1  (4/94)
  50.  
  51. Initial release on the ColorSync 2.0 SDK
  52.